package file_homework;

import java.io.File;

public class MkDir1 {
    public static void main(String[] args) {
        File dir =new File("./a/b/c");
        if (dir.exists()) {
            System.out.println("已经存在");
        }else {
            dir.mkdirs();
            System.out.println("已创建!");
        }
    }
}
